package henu.javaweb.action;

import java.util.ArrayList;

import com.sun.xml.internal.bind.v2.schemagen.xmlschema.List;

import henu.javaweb.bean.Student;

public interface IStudentDao {

	/**
	 * 学生登录
	 * @param sno 学号
	 * @param sname 学生姓名
	 * @return 登录成功返回turn 否则false
	 */
public Student login(String sno,String password);
public int update(Student student) ;
public boolean updateStuPass(String sno,String spass);
public Student findBySno(String sno);
public ArrayList<Student> getAllStudent();
/**
 * 添加学生
 */
public boolean addStudent(Student s);

public boolean deleteStudent(String sno);
}
